 <#include "../common/com.html"/> <@layout>

<!-- ace styles -->
<link rel="stylesheet" href="${ctx}/static/assets/css/ace.min.css" />

<script type="text/javascript">
	/**
	 * 新增
	 */
	function saveModel() {
		var id = document.getElementById("id").value;
		if (Validator.Validate(document.getElementById('form1'))) {
		} else {
			return;
		}

		url = '';
		if (id == "") {
			url = '${ctx}/hygl/save';
		} else {
			url = '${ctx}/hygl/update';
		}
		$('#form1').form('submit', {
			url : url,
			onSubmit : function() {
				return $(this).form('validate');
			},
			success : function(data) {
				alert(data);
				window.location.href = '${ctx}/hygl';
			}
		});

	}
</script>
<div class="page-content">
	<div class="row-fluid">
		<#list newlist as m>
	
				<form class="form-horizontal" id="form1" method="post">
		<div class="span6">
				<input type="hidden" name="id" id="id">
				<div class="control-group">
					<label class="control-label">卡号:</label>
					<div class="controls">
					 ${(m.card)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">姓名:</label>
					<div class="controls">
					${(m.yhm)!}
					</div>
				</div>
				
				<div class="control-group">
					<label class="control-label">固定电话:</label>
					<div class="controls">
					${(m.gddh)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">手机:</label>
					<div class="controls">
					${(m.dh)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">微信号:</label>
					<div class="controls">
					${(m.wxh)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">原始金额:</label>
					<div class="controls">
						${(m.ysje)!}
					</div>
				</div>
				
	<div class="control-group">
					<label class="control-label">办理人:</label>
					<div class="controls">
						${(m.ysje)!}
					</div>
				</div>
				

		</div>
		<div class="span6">
				<div class="control-group">
					<label class="control-label">余额:</label>
					<div class="controls">
						${(m.ye)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">车型:</label>
					<div class="controls">
						${(m.cx)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">车款:</label>
					<div class="controls">
						${(m.ck)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">车牌号:</label>
					<div class="controls">
						${(m.cph)!}
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">保险日期:</label>
					<div class="controls">
						${(m.bxrq)!}
					
					</div>
				</div>


		</div>
					        	<div class="span12 center">
				&nbsp; &nbsp;&nbsp;&nbsp; <a href="#"
					class="btn btn-danger btn-small bigger-110"
					onclick="parent.closeDialog();">取消 </a>
					</div>
					</form>
			</#list>
	</div>
</div>

</body>

<script>


</script>
</@layout>
